﻿<div style="text-align:center">
    <table style="text-align:center; margin-left:auto; margin-right:auto; width:440px;">
    <tr>
    <td>
     <div class="boxTopMedia" style="margin-left:-6px;"></div>  
     <div class="boxMidMedia" style="margin-left:-6px;">
       <div class="boxMidPadMedia" style="margin-left:-6px;">
          @using (Html.BeginForm()) { 
          <table style="width:95%;">
                    <tr style="height:40px">
                        <td style="width:100%;text-align:center" colspan="2">
                            <div style="font-size:24px; height:38px; color:#a3a3a3; line-height:14pt;">
                                <b> @AccountResources.Register.Registration </b>
                            </div>
                            <b>@Html.ValidationMessage("_FORM")</b>
                        </td>
                    </tr>
                    <tr>
                        <td style="width:50%;text-align:right;vertical-align:top">
                            <label for="firstName"> @AccountResources.Register.FirstName </label>
                        </td>
                        <td style="width:50%;text-align:left;font-size:smaller">
                            @Html.TextBox("firstName")<br/>
                            @Html.ValidationMessage("firstName")
                        </td>
                    </tr>
                    <tr>
                        <td style="width:50%;text-align:right;vertical-align:top">
                            <label for="lastName"> @AccountResources.Register.LastName </label>
                        </td>
                        <td style="width:50%;text-align:left;font-size:smaller">
                            @Html.TextBox("lastName")<br/>
                            @Html.ValidationMessage("lastName")
                        </td>
                    </tr>
                    <tr>
                        <td style="width:50%;text-align:right;vertical-align:top">
                            <label for="email"> @AccountResources.Register.Email </label>
                        </td>
                        <td style="width:50%;text-align:left;font-size:smaller">
                            @Html.Password("email")<br/>
                            @Html.ValidationMessage("email")
                        </td>
                    </tr>
                    <tr>
                        <td style="width:50%;text-align:right;vertical-align:top">
                            <label for="username"> @AccountResources.Register.Login </label>
                        </td>
                        <td style="width:50%;text-align:left;font-size:smaller">
                            @Html.TextBox("username")<br/>
                            @Html.ValidationMessage("username")
                        </td>
                    </tr>
                    <tr>
                        <td style="width:50%;text-align:right;vertical-align:top">
                            <label for="password"> @AccountResources.Register.Password </label>
                        </td>
                        <td style="width:50%;text-align:left;font-size:smaller">
                            @Html.Password("password")<br/>
                            @Html.ValidationMessage("password")
                        </td>
                    </tr>
                    <tr>
                        <td style="width:50%;text-align:right;vertical-align:top">
                            <label for="confirmPassword"> @AccountResources.Register.ConfirmPassword </label>
                        </td>
                        <td style="width:50%;text-align:left;font-size:smaller">
                            @Html.Password("confirmPassword")<br/>
                            @Html.ValidationMessage("confirmPassword")
                        </td>
                    </tr>
                    <tr>
                        <td style="width:50%;text-align:right">
                        </td>
                        <td style="width:50%;text-align:left">
                            <input type="submit" value="@AccountResources.Register.RegisterString" />
                        </td>
                    </tr>
                </table>       
             }  
       </div>  
     </div> 
    <div class="boxBottomMedia" style="margin-left:-6px;"></div>
    </td>
    </tr>
    </table>
</div>


